//
//  DangerResultVC.m
//  Tunnel
//
//  Created by wbb on 2025/7/5.
//

#import "DangerResultVC.h"
#import "JCSBTableViewController.h"

@interface DangerResultVC ()

@end

@implementation DangerResultVC
- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    self.navigationController.interactivePopGestureRecognizer.enabled = NO;
}
- (void)viewDidDisappear:(BOOL)animated {
    [super viewDidDisappear:animated];
    self.navigationController.interactivePopGestureRecognizer.enabled = YES;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
}
- (IBAction)againClick:(UIButton *)sender {
    UIStoryboard *userStoryboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
    JCSBTableViewController *vc = [userStoryboard instantiateViewControllerWithIdentifier:@"JCSBTableViewController"];
    vc.deptList = [WDGlobal shareInstance].deptList;
    [self.navigationController pushViewController:vc animated:YES];
}
- (IBAction)goHome:(UIButton *)sender {
    [self.navigationController popToRootViewControllerAnimated:NO];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
